﻿using System.Collections.Generic;
using UnityEditor;

namespace Elvex
{
    /// <summary>
    /// 资源包生成器
    /// </summary>
    public static class AssetEditerUtility
    {
        public static List<string> FindScenes(params string[] assetpaths)
        {
            
            var scenes = new List<string>();
            var guids = AssetDatabase.FindAssets("t:scene", assetpaths);
            foreach(var guid in guids) { scenes.Add(AssetDatabase.GUIDToAssetPath(guid)); }
            return scenes;
        }
    }
}

